import axios from '@/http/index';
/*灾备演练系统首页*/
export function disasterDrillCount(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterDrillCount',
    method: 'post',
    data: option
  });
}
/* 首页--灾备问题 */
export function disasterIssueCount(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterIssueCount',
    method: 'post',
    data: option
  });
}
/* 灾备首页折线图 */
export function cycleDisasterChart(option: string) {
  return axios({
    url: '/monitor/DisasterManag/cycleDisasterChart',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-计划列表 */
export function disasterDrillPlanList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterDrillPlanList',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-已完成列表 */
export function disasterDrillList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterDrillList',
    method: 'post',
    data: option
  });
}
// /* 灾备看板--返回字段翻译接口 */
// export function disasterGetParaName(option: string) {
//   return axios({
//     url: '/monitor/DisasterManag/disasterGetParaName',
//     method: 'post',
//     data: option
//   });
// }
/* 灾备问题-问题单列表 */
export function disasterIssueList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterIssueList',
    method: 'post',
    data: option
  });
}
/* 灾备问题-涉及系统列表 */
export function disasterIssueBySytemNumberList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/disasterIssueBySytemNumberList',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-- 列表导出 */
export function exportDisasterDrillList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/exportDisasterDrillList',
    method: 'post',
    data: option
  });
}
/* 灾备问题-- 列表导出（根据问题单） */
export function exportDisasterIssueList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/exportDisasterIssueList',
    method: 'post',
    data: option
  });
}
/* 灾备问题-- 列表导出（根据涉及系统） */
export function exportDisasterIssueSystemList(option: string) {
  return axios({
    url: '/monitor/DisasterManag/exportDisasterIssueSystemList',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-查看详情 */
export function DisasterSystemView(option: string) {
  return axios({
    url: '/monitor/DisasterManag/DisasterSystemView',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-切换演练计划-查看详情 */
export function DisasterQhylPlanView(option: string) {
  return axios({
    url: '/monitor/DisasterManag/DisasterQhylPlanView',
    method: 'post',
    data: option
  });
}
/* 灾备演练系统-切换演练计划-查看详情 */
export function DdisasterQhylView(option: string) {
  return axios({
    url: '/monitor/DisasterManag/DdisasterQhylView',
    method: 'post',
    data: option
  });
}

/* 应用级灾备首页-是否重要系统 */
export function SysBasicIsNoByIs() {
  return axios({
    url: '/basic/Disaster/SysBasicIsNoByIs',
    method: 'post'
  });
}
/* 应用级灾备首页-灾备模型 */
export function selectSysBasicByconstructionMode() {
  return axios({
    url: '/basic/Disaster/selectSysBasicByconstructionMode',
    method: 'post'
  });
}
/* 应用级灾备首页-部署位置 */
export function selectSysBasicBysysDeployLocation() {
  return axios({
    url: '/basic/Disaster/selectSysBasicBysysDeployLocation',
    method: 'post'
  });
}
/* 应用级灾备列表-系统名称 */
export function selectByOgSysIdAndName() {
  return axios({
    url: '/basic/Disaster/selectByOgSysIdAndName',
    method: 'post'
  });
}
/* 应用级灾备列表-灾备模式 */
export function selectSysBasicBybascMode() {
  return axios({
    url: '/basic/Disaster/selectSysBasicBybascMode',
    method: 'post'
  });
}
/* 应用级灾备列表-部署位置 */
export function selectSysBasicBysysDeployLocationn() {
  return axios({
    url: '/basic/Disaster/selectSysBasicBysysDeployLocationn',
    method: 'post'
  });
}
/* 应用级灾备列表 */
export function selectSysBasicIsNoAndModeAndLocation(option: string) {
  return axios({
    url: '/basic/Disaster/selectSysBasicIsNoAndModeAndLocation',
    method: 'post',
    data: option
  });
}

/* 应急灾备系统看板--状态总数 */
export function selectBySysBasicStateSize() {
  return axios({
    url: '/basic/Disaster/selectBySysBasicStateSize',
    method: 'post'
  });
}
/* 应急灾备系统看板--状态列表 */
export function selectBySysBasicState(option: string) {
  return axios({
    url: '/basic/Disaster/selectBySysBasicState',
    method: 'post',
    data: option
  });
}
/* 应急灾备系统看板--列表状态修改 */
export function selectBySysBasicStateById(option: string) {
  return axios({
    url: '/basic/Disaster/selectBySysBasicStateById',
    method: 'post',
    data: option
  });
}
